sysroot: Add ostree_sysroot_prepare_cleanup()
authorMatthew Barnes <mbarnes@redhat.com>
Wed, 9 Sep 2015 18:50:14 +0000 (14:50 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Wed, 16 Sep 2015 13:23:37 +0000 (09:23 -0400)
commitb0bd16ec1181cee880810088e481642ae67cf037
treeb90c26e95317fad18a7c4d29dd825785f2705600
parentfd6c572c42a061d61fc0367c8097cc0b5590294a
sysroot: Add ostree_sysroot_prepare_cleanup()

New public function works like ostree_sysroot_cleanup() EXCEPT FOR
pruning the repository.

Under the hood, add _ostree_sysroot_piecemeal_cleanup() which takes
flags to better control what files are cleaned up.  Both public cleanup
functions are now wrappers for _ostree_sysroot_piecemeal_cleanup() with
different flags.
doc/ostree-sections.txt
src/libostree/ostree-sysroot-cleanup.c
src/libostree/ostree-sysroot-deploy.c
src/libostree/ostree-sysroot-private.h
src/libostree/ostree-sysroot.h